package com.huaxia.service.newAdd;

import com.huaxia.dao.newAdd.BranchNewAddMapper;
import com.huaxia.dao.newAdd.SaleDeptNewAddMapper;
import com.huaxia.pojo.newAdd.BranchNewAdd;
import com.huaxia.pojo.newAdd.SaleDeptNewAdd;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangli 爱我华夏，爱我中华！
 * @date 2020/06/08 11:30
 */
@Service
public class NewAddService {

    @Autowired
    private BranchNewAddMapper branchNewAddMapper;
    @Autowired
    private SaleDeptNewAddMapper saleDeptNewAddMapper;


    public List<BranchNewAdd> getBranchNewAdd(){

        return branchNewAddMapper.getBranchNewAdd();
    }
    public List<SaleDeptNewAdd> getSaleDeptNewAdd(){

        return saleDeptNewAddMapper.getSaleDeptNewAdd();
    }



}
